//实现radio对EventEmitter的继承，添加start和stop的事件
//start直接触发，stop延时5秒触发
var events = require("events");
var Emitter = events.Emitter;
function Radio(inforObj){
    this.radioName=inforObj.radioName;
    Emitter.call(this);
}
Radio.prototype=Emitter.prototype;//实现对EventEmitter的继承
Radio.prototype.start=function(){
    console.log("start");
}
module.exports=Radio;